<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue列表展示</title>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="item in movies">{{msg}}-{{item}}</li>
    </ul>

</div>
<script src="../js/vue.js"></script>
<script>
    const vm = new Vue({
        el:'#app',
        data:{
            msg:"这是我的列表展示",
            movies:['西游记','速度与激情','变形金刚','金刚']
        }
    });
</script>

</body>
</html>